package com.treasure.mall.biz.entity.live;

import com.treasure.mall.biz.entity.BasePO;
import com.treasure.mall.zbq.common.ienum.live.LiveEnums;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.*;

/**
 *
 * <p> 直播间相关统计
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.biz.entity.live
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/9/19 1:44 下午
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 * 
 */
@Entity
@Getter
@Setter
@Table(name = "zb_live_room_statistics")
@NoArgsConstructor
@Cacheable(false)
public class LiveRoomStatisticsPO extends BasePO {


    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Long id;

    /**
     * 直播间sessionID
     */
    @Column(name = "session_id", length = 50)
    private String sessionId;

    /**
     * 今日直播间的场景类型{@link LiveEnums.SceneType}
     */
    @Column(name = "scene_type")
    private LiveEnums.SceneType sceneType;

    /**
     * 用户ID
     */
    @Column(name = "user_id")
    private Long userId;


}
